package com.dingding.facde.activity.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.dingding.common.core.util.DateFormatUtil;
import com.dingding.common.core.util.ToolUtil;

/**
 * 
 * @ClassName: ShowUserCouponListDTO 
 * @Description: 获取用户优惠券列表
 * @author YHQ
 * @date 2016年12月29日 下午7:29:00
 * @since V2.6.3
 * 
 */
@SuppressWarnings("serial")
public class ShowUserCouponListDTO implements Serializable{

	private String userCouponId;// 用户优惠券ID
	private int couponStatus;// 优惠券状态 1：未激活 2：已激活 3：已使用 5：已失效
	private Integer couponMoney;// 优惠券金额
	private int couponType;// 优惠券类型（洗车券、出行券。。。。）
	private String expiredTime;// 有效期
	private String usageRule;//优惠券使用规则
	private BigDecimal couponDiscounts;// 折扣
	private String couponImage;// 优惠券背景图片
	private String couponName;// 优惠券名称
	
	public String getUserCouponId() {
		return userCouponId;
	}
	public void setUserCouponId(String userCouponId) {
		this.userCouponId = userCouponId;
	}
	public int getCouponStatus() {
		return couponStatus;
	}
	public void setCouponStatus(int couponStatus) {
		this.couponStatus = couponStatus;
	}
	public Integer getCouponMoney() {
		return couponMoney;
	}
	public void setCouponMoney(Integer couponMoney) {
		this.couponMoney = couponMoney;
	}
	public int getCouponType() {
		return couponType;
	}
	public void setCouponType(int couponType) {
		this.couponType = couponType;
	}
	public String getExpiredTime() {
		return expiredTime;
	}
	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = "有效期至 " + DateFormatUtil.yy_MM_dd_HHmmss(expiredTime);
	}
	public String getUsageRule() {
		return usageRule;
	}
	public void setUsageRule(String usageRule) {
		this.usageRule = usageRule;
	}
	public BigDecimal getCouponDiscounts() {
		return couponDiscounts;
	}
	public void setCouponDiscounts(BigDecimal couponDiscounts) {
		this.couponDiscounts = couponDiscounts;
	}
	public String getCouponImage() {
		return couponImage;
	}
	public void setCouponImage(String couponImage) {
		this.couponImage = ToolUtil.imageAddress(couponImage);
	}
	public String getCouponName() {
		return couponName;
	}
	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}
	
}
